﻿using System;
using System.Net;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Documents;
using System.Windows.Ink;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Animation;
using System.Windows.Shapes;

namespace Iworld.ViewModel
{
    /// <summary>
    /// 标记控件对象为弹窗
    /// </summary>
    [AttributeUsage(AttributeTargets.Class)]
    public class PopAttribute : Attribute
    {
        /// <summary>
        /// 弹窗标记
        /// </summary>
        public object Pop { get; set; }

        /// <summary>
        /// 标记控件对象为弹窗
        /// </summary>
        /// <param name="pop">弹窗标记</param>
        public PopAttribute(object pop)
        {
            this.Pop = pop;
        }
    }
}
